package com.yzy.fly.type;

import com.yzy.fly.enums.IBaseEnum2;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.StringUtils;

public enum SQLType implements IBaseEnum2<String, String> {

    SELECTONE("selectOne","Select"),
    SELECTLIST("selectList","Select"),
    SELECT("Select","Select"),
    UPDATE("Update","Update"),
    INSERT("Insert","Insert"),
    DELETE("Delete","Delete"),
    CALLABLE("CALLABLE","Select");

    @Setter@Getter
    private String type;
    @Setter@Getter
    private String value;

    SQLType(String type, String value){
        initEnum(type, value);
    }

}
